package com.jz.community.moduleshopping.goodsDetail.net;

import com.jz.community.basecomm.bean.baseGoods.BaseGoodsInfo;
import com.jz.community.basecomm.constant.Constant;
import com.jz.community.moduleshopping.goodsDetail.bean.GoodsDetailInfo;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;
import retrofit2.http.Url;

/**
 * Created by Tony.Fan on 2018/3/27 10:03
 */
public interface GoodsDetailApi {

    @GET
    Observable<GoodsDetailInfo> getGoodsDetailInfo(@Url String url);


    @GET(Constant.GOODS_INFOES_FOR_ID)
    Observable<BaseGoodsInfo> getShopInfo(@Query("filter") String filter,
                                          @Query("page") int page,
                                          @Query("size") int size);


}
